// 父子组件通信










function Son (props) {
  console.log(props)
  return <div>this is son,  {props.name}, jsx: {props.child}</div>
}


function App() {
  const name = 'this is app name'
  return (
    <div>
      <Son 
        name={name}  
        age={29}
        isTrue={false}
        list={['vue', 'react']}
        obj={{name: 'jack'}}
        cb={() => console.log(123)}
        child = {<span>this is span</span>}
      />
    </div>
  )
}   

export default App
